/***********************************
* Name: InterEtiqueta.java
* Date: Oct 4, 2010
* @author martin
* Description:
***********************************/

package interCodeGen;


public class InterEtiqueta implements Cod3Dir{

    String etiqueta = "";   //id1
                            //id2 -> ""
                            //id3 -> ""

    /*****************************************
     * InterEtiqueta
     * constructor
     *****************************************/
    public InterEtiqueta(String etiqueta){
        this.etiqueta = etiqueta;
    }

    /*****************************************
     * getId1
     * @return id1 with his representation
     *****************************************/
    public String getId1() {
        return this.etiqueta;
    }

    /*****************************************
     * getId2
     * @return id2 with his representation
     *****************************************/
    public String getId2() {
        return "";
    }

    /*****************************************
     * getId3
     * @return id3 with his representation
     *****************************************/
    public String getId3() {
        return "";
    }

    /*****************************************
     * getCodeString
     * @return the complete code of the Cod3Dir
     *****************************************/
    public String getCodeString() {
        return this.etiqueta+":";
    }
    
}
